From: Christophe Fergeau Date: Thu, 29 May 2014 21:23:32 +0000 (+0200) Subject: Fix Meta.KeyBindingFlags.IS_REVERSED typo X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2417 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d98c1ba522d34b457fa498d404c3fc3030e3b320;p=gnome-shell.git Fix Meta.KeyBindingFlags.IS_REVERSED typo The code currently tries to use Meta.KeyBindingFlags.REVERSED. Since this constant is |'ed with Meta.KeyBindingFlags.REVERSES, gjs silently ignores the unknown flag. https://bugzilla.gnome.org/show_bug.cgi?id=731619 --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index 0df05027c..fc37ba077 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -373,7 +373,7 @@ const InputSourceIndicator = new Lang.Class({ Main.wm.addKeybinding('switch-input-source-backward', new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }), Meta.KeyBindingFlags.REVERSES | - Meta.KeyBindingFlags.REVERSED, + Meta.KeyBindingFlags.IS_REVERSED, Shell.KeyBindingMode.ALL, Lang.bind(this, this._switchInputSource)); this._settings = new Gio.Settings({ schema: DESKTOP_INPUT_SOURCES_SCHEMA });